package cn.kgc.springboot.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: mosin
 * @version: v1.0  2022/11/1
 */
@RestController
@RequestMapping("/hello")
public class HelloController {

    public HelloController(){
        System.out.println("HelloController()");
    }

    @GetMapping
    public String  test1(){
        return "hello springboot";
    }


}
